home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.programming / comp.sys.amiga.programmer_4075_000023.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  2.1 KB  |  45 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: dd.chalmers.se!news.chalmers.se!sunic!EU.net!howland.reston.ans.net!darwin.sura.net!news-feed-2.peachnet.edu!concert!sas!mozart.unx.sas.com!walker
  3. From: walker@twix.unx.sas.com (Doug Walker)
  4. Subject: Re: The meaning of library base ptrs
  5. Originator: walker@twix.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <CJKrz2.2v8@unx.sas.com>
  8. Date: Thu, 13 Jan 1994 15:49:50 GMT
  9. References: <CJ1JD1.Hwr@sugar.NeoSoft.COM> <zaphod.02vj@cayman.priconet.de> <rDT7u*ct5@aargh.adsp.sub.org> <thai0009.758159857@gold.tc.umn.edu> <15381@babylon.rmt.sub.org>
  10. Nntp-Posting-Host: twix.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 32
  13.  
  14.  
  15. In article <15381@babylon.rmt.sub.org>, rbabel@babylon.rmt.sub.org (Ralph Babel) writes:
  16. |> have to be reopened for _every_ opener/client/task of the
  17. |> higher-level library, this requires that either
  18. |> 
  19. |> (a) all calls to lower-level libraries be deferred to a
  20. |>     global library task to ensure that the library base
  21. |>     obtained once during library initialization is used only
  22. |>     from the task that originally opened the library. This
  23.  
  24. You're assuming that the restriction must be ENFORCED by every
  25. library.  This isn't so.  If a library has need of per-opener
  26. data, like other library bases, then it needs to store that
  27. data somehow (the easiest way that I know of being libinitr.o).
  28. If a library doesn't need it, it doesn't need to do anything
  29. different or unusual.  Openers who depend on that are asking
  30. for trouble, but that's their problem.
  31.  
  32. It does add some overhead to the system if the libraries are
  33. opened by many tasks.  I think it would be a good idea for
  34. Commodore to promise that graphics.library, intuition.library
  35. and others remain shareable.  If they did that, much of the
  36. problem would go away.
  37.  
  38. -- 
  39.   *****                    / walker@unx.sas.com
  40.  *|_o_o|\\     Doug Walker<  BIX, Portal: djwalker
  41.  *|. o.| ||                \ CompuServe: 71165,2274
  42.   | o  |//     
  43.   ====== 
  44. Any opinions expressed are mine, not those of SAS Institute, Inc.
  45.